<!--
 作者：ex_baiyc
 日期：2016-10-11
 功能：首页-用户
 参数：
 事件：
-->
<template>
  <div class="user">
    <toolbar :view-title="viewTitle">
      <div
        class="leftButton"
        type="button"
        slot="left-button"
        @click="this.$broadcast('goBack')">&nbsp;
      </div>
      <div
        class="rightButton"
        type="button"
        slot="right-button"
        @click="doFilter">
        筛选
      </div>
    </toolbar>
    <p class="mt100">暂未开放，敬请期待！</p>
  </div>
</template>

<script>
  import Toolbar from '../common/Toolbar.vue'
  export default{
    components: {
      Toolbar
    },
    data: function () {
      return {
        viewTitle: '用户'
      }
    },
    methods: {
      goBack: function () {
        window.history.back()
      },
      doFilter: function () {
      }
    }
  }
</script>

<style lang="scss" scoped>
  .user {
    .leftButton {
      width: .5rem;
      height: .5rem;
      background-image: url('../../../static/img/btn-back.png');
      background-repeat: no-repeat;
      background-size: 100%;
    }
  }

</style>
